.nested-fields
  = link_to_remove_nested_association(:child, f)
  - autocomplete_params = {controller: :product_nature_variant_components}
  = f.input :name, autocomplete: autocomplete_params
  = f.referenced_association :part_product_nature_variant
  - if depth < 10
    = f.nested_association(:children, locals: {depth: depth + 1 })
